import { PAGE_SIZE_BASE } from '@/constants/common';
import Xhr from './axios/xhr';

const getRole = () => Xhr.get(`/role`);
const updateRole = (id, role) => Xhr.put(`/role/${id}`, role);

export {
  getRole,
  updateRole,
};
